fix(deps): update module github.com/shirou/gopsutil/v3 to v4 #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
v3.22.10
->v4.25.9
Release Notes
shirou/gopsutil (github.com/shirou/gopsutil/v3)
v4.25.9
Compare Source
What's Changed
cpu
disk
process
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.25.8...v4.25.9
v4.25.8
Compare Source
Important Change
Starting from this release,
VirtualMemoryStat.Used
on Linux is now calculated based onMemAvailable
inmeminfo
. This may cause a difference of approximately 6–10% compared to the previous calculation.To address this, we have introduced an opt-out mechanism. You can disable the new calculation by setting the context key
WillBeDeletedOptOutMemAvailableCalc
totrue
. Please note that this option is undocumented and will be removed in six months (Feb. 2026).For more details, see #1873 and #1882.
What's Changed
cpu
disk
mem
process
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.25.7...v4.25.8
v4.25.7
Compare Source
What's Changed
disk
mem
process
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.25.6...v4.25.7
v4.25.6
Compare Source
What's Changed
disk
mem
process
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.25.5...v4.25.6
v4.25.5
Compare Source
What's Changed
cpu
docker
host
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.25.4...v4.25.5
v4.25.4
Compare Source
What's Changed
cpu
disk
host
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.25.3...v4.25.4
v4.25.3
Compare Source
Important Notice
Starting from this release, we have set the Go version in
go.mod
to 1.23. Moving forward, we plan to continuously update it to the second most recent Go release.We understand that gopsutil runs on various platforms, and some applications using it may only support older Go versions. With this release, those applications might no longer be able to build. However, as discussed in #1804, we made this change because golang.org/x/sys, which gopsutil depends on, has adopted a policy of continuously updating its Go version.
That said, we intend to be conservative about syntax changes and avoid unnecessary modifications whenever possible.
What's Changed
disk
host
process
Chore
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.25.2...v4.25.3
v4.25.2
Compare Source
What's Changed
cpu
net
process
Process.CmdlineSliceWithContext
incorrect on Windows by @RomainMuller in #1796Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.25.1...v4.25.2
v4.25.1
Compare Source
What's Changed
Other Changes
Full Changelog: shirou/gopsutil@v4.24.12...v4.25.1
v4.24.12
Compare Source
What's Changed
cpu
mem
net
process
sensors
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.24.11...v4.24.12
v4.24.11
Compare Source
What's Changed
host
New Contributors
Full Changelog: shirou/gopsutil@v4.24.10...v4.24.11
v4.24.10
Compare Source
What's Changed
cpu
mem
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.24.9...v4.24.10
v4.24.9
Compare Source
Important Change
Since #1702, the Darwin implementation has been switched from cgo to purego (Great contribution from @uubulb). As a result, cgo has been removed from the Darwin implementation, making cross-compilation easier. We believe this change will not have any impact, but if you encounter any issues, please create an issue.
What's Changed
cpu, mem, sensors, disk, process on darwin
process
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.24.8...v4.24.9
v4.24.8
Compare Source
What's Changed
disk
process
Other Changes
New Contributors 🎉
Full Changelog: shirou/gopsutil@v4.24.7...v4.24.8
v4.24.7
Compare Source
Important Notice Regarding Value Changes on mem.SwapMemory() on Windows
In change #1677, the values returned by
mem.SwapMemory()
on Windows have been significantly revised. Previously, these values were calculated from thePERFORMANCE_INFORMATION
structure of theGetPerformanceInfo
win32 function, but this calculation was incorrect. Consequently, it has been adjusted to align with the psutil implementation. As a result, the values returned bymem.SwapMemory()
are expected to differ greatly from previous values.What's Changed
docker
mem
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.24.6...v4.24.7
v4.24.6
Compare Source
What's Changed
host
sensors
sensors_freebsd.go
by @uubulb in #1668Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v4.24.5...v4.24.6
What's Changed
host
Other Changes
sensors_freebsd.go
by @uubulb in #1668New Contributors
Full Changelog: shirou/gopsutil@v4.24.5...v4.24.6
v4.24.5
Compare Source
What's Changed
gopsutil v4 is released as
v4.24.5
.v3
will not be updated except for high level security issues.Breaking Changes
host/SensorsTemperatures()
moved to in the newsensors
package.process.Groups()
now returns uint32. (#1424)process.Uids()
andprocess.Gids()
also now uint32.mem.VirtualMemoryExStat
is nowExVirtualMemory
withExLinux
andExWindows
. See document aboutEx structs
.Other
// +build
Full Changelog: shirou/gopsutil@v3.24.5...v4.24.5
v3.24.5
Compare Source
What's Changed
cpu
process
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v3.24.4...v3.24.5
v3.24.4
Compare Source
What's Changed
net
New Contributors
Full Changelog: shirou/gopsutil@v3.24.3...v3.24.4
v3.24.3
Compare Source
What's Changed
disk
host
load
MiscStat
Corrected by @eric1234 in #1612process
New Contributors
Full Changelog: shirou/gopsutil@v3.24.2...v3.24.3
v3.24.2
Compare Source
What's Changed
cpu
Documentation
New Contributors
Full Changelog: shirou/gopsutil@v3.24.1...v3.24.2
v3.24.1
Compare Source
Compatibility Notice
We don't think #1585 will affect compatibility about
PlatformVersion
inhost.Info()
, but maybe it will.What's Changed
disk
host
process
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v3.23.12...v3.24.1
v3.23.12
Compare Source
What's Changed
cpu
disk
host
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v3.23.11...v3.23.12
v3.23.11
Compare Source
What's Changed
process
New Contributors
Full Changelog: shirou/gopsutil@v3.23.10...v3.23.11
v3.23.10
Compare Source
What's Changed
cpu
host
process
Full Changelog: shirou/gopsutil@v3.23.9...v3.23.10
v3.23.9
Compare Source
What's Changed
cpu
host
load
mem
New Contributors
Full Changelog: shirou/gopsutil@v3.23.8...v3.23.9
v3.23.8
Compare Source
What's Changed
#1514 improves
Processes()
performance 6% or more. Thank you @atoulme !cpu
disk
host
mem
process
New Contributors
Full Changelog: shirou/gopsutil@v3.23.7...v3.23.8
v3.23.7
Compare Source
What's Changed
process
Other Changes
New Contributors
Full Changelog: shirou/gopsutil@v3.23.6...v3.23.7
v3.23.6
Compare Source
What's Changed
Starting with this release, directory specifications that were previously passed by environment variables such as
HOST_PROC
can alsoConfiguration
📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.